package com.biz.primus.ms.tms.feign;

import com.biz.primus.model.tms.vo.OrderInfoRespVo;
import com.biz.primus.model.tms.vo.OrderPriceReqVo;
import com.biz.primus.model.tms.vo.OrderPriceRespVo;
import com.biz.primus.model.tms.vo.SimpleOrderInfoRespVo;
import org.springframework.cloud.netflix.feign.FeignClient;

import java.util.List;

/**
 * OmsOrderFeignClient
 *
 * @author JKLiues
 * @date 2017年11月22日
 */
@FeignClient(qualifier = "omsOrderFeignClient", name = "service-oms")
public interface OmsOrderFeignClient {

    /**
     * 获取订单信息
     *
     * @param orderCodes 订单编号
     * @return List
     */
    List<SimpleOrderInfoRespVo> findOrderInfo(List<String> orderCodes);

    /**
     * 获取订单信息
     *
     * @param orderCode 订单编码
     * @return OrderInfoRespVo
     */
    OrderInfoRespVo findOrderDetailInfo(String orderCode);

    /**
     * 获取签收商品订单价
     *
     * @param reqVo 价格获取请求
     * @return OrderPriceRespVo
     */
    OrderPriceRespVo getOrderPrice(OrderPriceReqVo reqVo);
}